<?php
/**
 * Created by PhpStorm.
 * User: zlkmu
 * Date: 2017/9/1
 * Time: 22:42
 * 获取部门所有报销经费
 * 1：部门ID；2：开始时间；3：结束时间
 */
    require_once ('../Common.php');
    require_once ('FinanceFeeManage.php');
    $section_id = $_REQUEST['section_id'];
    $begin_time = $_REQUEST['begin_time'];
    $end_time = $_REQUEST['end_time'];
    $fee_type = $_REQUEST['fee_type'];
    if(!isset($section_id) || !isset($begin_time) || !isset($end_time) || !isset($fee_type)){
        exit(json_encode(array('state'=>0, 'error'=>'POST_ERROR')));
    }

    $ffm = new FinanceFeeManage();
    $ffm->getSectionApproveFee($section_id, $fee_type, $begin_time, $end_time);


?>